package com.example.demo.enable;

import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.AdviceModeImportSelector;

/**
 * @author yujie
 * @create 2018-04-27 下午4:52
 **/
public class UserSelector extends AdviceModeImportSelector<EnableUser> {

    public UserSelector() {
        super();
    }

    @Override
    protected String getAdviceModeAttributeName() {
        return super.getAdviceModeAttributeName();
    }

    @Override
    protected String[] selectImports(AdviceMode adviceMode) {
        return new String[]{"com.example.demo.enable.UserConfig"};
    }
}
